let pPath = process.env.NODE_ENV === 'qa' ? '/hs3d/' : '/'
console.log('env=', process.env.NODE_ENV)
console.log('pPath=', pPath)
module.exports = {
	publicPath: pPath,
	devServer: {
		proxy: {
			'/nw/nhealth': {
				target: 'https://testweb.noitom.cn/admin2019/', 
				ws: false,
				secure: false, //使用http协议
				changeOrigin: true,
				pathRewrite: {
					'^/nw/nhealth': '/nw/nhealth'
				}
			}
		}
	}
}
